import java.io.File;
	import java.io.FileInputStream;
import java.util.Scanner;
	
public class TesteTxt1 {

	public static String caminhoTxt = "src/teste.txt";
	
	public static void main(String[] args) {
	     try {
	       File file = new File(caminhoTxt);
	       FileInputStream in = new FileInputStream(file);
	       Scanner scanner = new Scanner(in);  
	       scanner.next();
	       while (scanner.hasNext()) {
	         String[] readLine = scanner.next().split(" ");
	         System.out.print(readLine[0]);
	       }
	     } catch (Exception e) {
	       e.printStackTrace();
	     }  
	 
	   }
	
}
